package com.jmlee.enums;

/**
 * @Description 商品发布状态枚举
 * @Author jmLee
 * @Date 2021/3/23 11:15
 * @Version 1.0
 */
public enum  ItemStatus {

    OFF_LINE(0,"下架"),
    ON_LINE(1,"上架"),
    UN_CHECK(2,"待审核");

    Integer code;
    String type;

    ItemStatus(Integer code, String type) {
        this.code = code;
        this.type = type;
    }


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }}
